﻿<Application x:Class="MuddyBoots.GreenlightQC.Mobile.UI.App" 
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             StartupUri="View\MainWindow.xaml" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             d1p1:Ignorable="d" 
             xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:vm="clr-namespace:MuddyBoots.GreenlightQC.Mobile.UI.ViewModel"
             xmlns:v="clr-namespace:MuddyBoots.GreenlightQC.Mobile.UI.View"> 
  <Application.Resources>
        <ResourceDictionary>
            <vm:ViewModelLocator x:Key="Locator" d:IsDataSource="True" />
            
            <DataTemplate DataType="{x:Type vm:LoginViewModel}">
                <v:LoginView />
            </DataTemplate>
            
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Resource/Brushes.xaml" />
                <ResourceDictionary Source="Resource/Converters.xaml" />
                <ResourceDictionary Source="Resource/Fonts.xaml" />
                <ResourceDictionary Source="Resource/Styles.xaml" />
            </ResourceDictionary.MergedDictionaries>

        </ResourceDictionary>

    </Application.Resources>
</Application>